popasl ID GETF PORT RAYGUI HELP '"Input filename"' CONTENT ''
button PORT COMMAND HELP '"Edit scene.\nEdit raygui.rexx to use your own editor."' COMMAND '"sys:rexxc/rx raygui.rexx EDIT"' LABEL 'Edit'
label CENTER LABEL 'Output file:'
popasl ID SAVEF PORT RAYGUI HELP '"Output filename"' CONTENT ''
button PORT COMMAND HELP '"View output picture.\nEdit raygui.rexx to use your own viewer."' COMMAND '"sys:rexxc/rx raygui.rexx VIEW"' LABEL 'View'
endgroup
group HORIZ
/* Display options */
group FRAME ATTRS Group_Columns 2 LABEL 'Render options'
label LABEL 'Display type:'
cycle ID DPLAY NODE 'sct4.12.5' HELP '"Display type.\nSelect none or grayscale for best performance."' LABELS displayitems
label LABEL 'Render method:'
cycle ID RMETH NODE 'sct4.12.10' HELP '"Render method.\nUse quick for preview images."' LABELS renderitems
label LABEL 'Recursion depth:'
string ID RDEP NODE 'sct4.12.4' HELP '"Recursion depth.\nUsually you do not need to change this."' CONTENT '10'
endgroup
/* Antialiasing options */
group FRAME ATTRS Group_Columns 2 LABEL 'Antialiasing options'
label LABEL 'Recursion depth:'
cycle ID ARDEP NODE 'sct4.12.6' HELP '"Antialiasing recursion depth.\nSpecify none for preview images and 2 or 3 for final render."' LABELS ardepthitems
label LABEL 'Jitter:'
string ID JTTER NODE 'sct4.12.8' HELP '"Antialiasing jitter.\nUsually you do not need to change this."' CONTENT '0.05'
label LABEL 'Threshold:'
string ID THOLD NODE 'sct4.12.7' HELP '"Antialiasing threshold.\nUsually you do not need to change this."' CONTENT '0.3'
endgroup
endgroup
/* Image options */
group FRAME HORIZ LABEL 'Image options'
label 'Format:'
cycle ID FMAT NODE 'sct4.12.3' PORT COMMAND COMMAND '"sys:rexxc/rx raylab:raygui.rexx CYCLEHIT"' HELP '"Output image format.\nIf you experience problems with IFF images, use TGA instead."' LABELS formatitems
label 'Width:'
string ID WIDTH NODE 'sct4.12.1' HELP '"Output image width."' CONTENT '320'
label 'Height:'
string ID HGHT NODE 'sct4.12.2' HELP '"Output image heigth."' CONTENT '240'
endgroup
/* Control buttons */
group HORIZ
button ID RDER PORT COMMAND HELP '"Start rendering."' COMMAND '"sys:rexxc/rx raygui.rexx RENDER"' LABEL 'Render'
button ID STOP PORT COMMAND HELP '"Stop rendering."' COMMAND '"sys:rexxc/rx raygui.rexx STOP"' LABEL 'Stop'
/*button ID STOP PORT INLINE HELP '"Stop rendering."' COMMAND """
address COMMAND;
'c:breakname raylab F';
call delay(60);
address RAYGUI;
text ID STUS LABEL '\033cAborted'; """ LABEL 'Stop'*/
endgroup
/* Status line */
group HORIZ
text ID STUS LABEL '\033cWaiting'
endgroup
endwindow
/* Check if breakname is installed */
if ~Exists('c:breakname') then do
request TITLE 'About' GADGETS 'OK' STRING 'You need breakname in your c: assign!'